import Vue from "vue";
import PdfView from "./pdfView.vue";

/**
 * 图片渲染
 */
export default async function renderPdf(buffer,target){
    return new Vue({
        render:(h)=>{
            return h(PdfView,{props:{data:buffer}});
        }
    }).$mount(target);
};